package day02.inherit;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/17
 */
public class GrandFatherMain {
    public static void main(String[] args) {
        GrandFather grandFather=new GrandFather("李爷爷",77);
        grandFather.getGrandFather();
        Father father = new Father("李父", 45, "教师");
        father.getFather();
    }
}
